'use strict';

angular.module('start', ['ngRoute','ngAnimate'])

    .config(['$routeProvider', function($routeProvider) {
        $routeProvider.when('/start', {
            templateUrl: 'start/start.html',
            controller: 'startCtrl'
        });
    }])

    .controller('startCtrl', function($scope,$location) {
        $scope.goMain=function(){
            $location.path("/main");
        }
    });